package com.ruijie.acl;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.ruijie.emp.device.Device;
import com.ruijie.foundation.bo.EntityObject;

/**
 * <p>
 * Title: ACL设备对象
 * </p>
 * <p>
 * Description: 用于数据库中的ACL设备表管理
 * </p>
 * <p>
 * Copyright: Copyright (c) 2008
 * </p>
 * <p>
 * Company: Ruijie Co., Ltd.
 * </p>
 * <p>
 * Create Time: 2009-09-14
 * </p>
 * <p>
 * Update Time:
 * </p>
 * <p>
 * Updater:
 * </p>
 * <p>
 * Update Comments:
 * </p>
 *@author ASAI
 */
public class AclDevice extends EntityObject {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -625260176357551301L;
	private Device device;
	private Boolean aclflag = false;
	private Date lastSynTime;
	private String remark = "";
	private Set<TimeRange> timeRanges = new HashSet<TimeRange>();
	private Set<AccessGroup> accessGroups = new HashSet<AccessGroup>();

	public AclDevice() {
	}

	public Device getDevice() {
		return device;
	}

	public void setDevice(Device device) {
		this.device = device;
	}

	public Boolean getAclflag() {
		return aclflag;
	}

	public void setAclflag(Boolean aclflag) {
		this.aclflag = aclflag;
	}

	public Date getLastSynTime() {
		return this.lastSynTime;
	}

	public void setLastSynTime(Date lastSynTime) {
		this.lastSynTime = lastSynTime;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Set<TimeRange> getTimeRanges() {
		return timeRanges;
	}

	public void setTimeRanges(Set<TimeRange> timeRanges) {
		this.timeRanges = timeRanges;
	}

	public Set<AccessGroup> getAccessGroups() {
		return accessGroups;
	}

	public void setAccessGroups(Set<AccessGroup> accessGroups) {
		this.accessGroups = accessGroups;
	}

}
